/**
 * 按钮布局
 *
 * - single-sidebar 单侧边栏
 * - header-sidebar 顶部导航栏+侧边栏
 * - double-header-sidebar 双顶部导航栏+侧边栏
 */
export type LayoutType =
  | "single-sidebar"
  | "header-sidebar"
  | "double-header-sidebar";

export type DefaultLayoutType = "single-sidebar";

export type LayoutTypeConf = {
  label: string;
  value: LayoutType;
};

declare function getConf(value: LayoutType): LayoutTypeConf;
export type GetConf = typeof getConf;

declare function isSingleSidebar(value: LayoutType): value is "single-sidebar";
declare function isHeaderSidebar(value: LayoutType): value is "header-sidebar";
declare function isDoubleHeaderSidebar(
  value: LayoutType
): value is "double-header-sidebar";

export type IsSingleSidebar = typeof isSingleSidebar;
export type IsHeaderSidebar = typeof isHeaderSidebar;
export type IsDoubleHeaderSidebar = typeof isDoubleHeaderSidebar;

declare function getCurrentLayoutType(): LayoutType;
export type GetCurrentLayoutType = typeof getCurrentLayoutType;
